import { createApp } from "vue"
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
import axios from "./request/index.js"
import * as echarts from "echarts"
import router from "./route/index.js"
import App from "./App.vue"
import store from "./store/store.js"
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(ElementPlus)
app.config.globalProperties.$http = axios
app.config.globalProperties.$echarts = echarts
app.use(store)
app.use(router)
app.mount("#app")
